package com.dji.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.dji.dao.TestDao;
import com.dji.pojo.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service(interfaceClass = TestService.class)
@Transactional
public class TestServiceImpl implements TestService {

    @Autowired
    TestDao testDao;
    @Override
    public List<Test> findAllUser() {
        return testDao.findAllUser();

    }
}
